package com.mobile.challenge.dao;

import com.mobile.challenge.core.Mapper;
import com.mobile.challenge.model.SignUpRecord;
import com.mobile.challenge.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends Mapper<User> {

    List<User> queryByPhoneNo (String phoneNo);

    List<User> queryByPhoneNoAndSingInDate (@Param(value = "phoneNo")String phoneNo);

    void updateStatusByPhoneNoAndSingInDate(@Param(value = "status")int status, @Param(value = "phoneNo")String phoneNo);
}